/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Ordenamiento;

import Negocio.TipoDeInsumo;
import java.util.Comparator;

/**
 *
 * @author Diego
 */
public class OrdenTipoInsumo implements Comparator<TipoDeInsumo>{
    @Override
    public int compare(TipoDeInsumo a1, TipoDeInsumo a2) {
        return (a1.getNombre().compareTo(a2.getNombre()));
    }
    
    
}

